package org.ruoyi.interview.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;
import lombok.Data;

/**
 * 讯飞星火API配置类
 */
@Data
@Configuration
@Component
@ConfigurationProperties(prefix = "xunfei.spark")
public class XunfeiSparkConfig {
    
    /**
     * 应用ID
     */
    private String appId;
    
    /**
     * API密钥
     */
    private String apiKey;
    
    /**
     * API密钥secret
     */
    private String apiSecret;
    
    /**
     * API版本
     */
    private String version = "lite";
}